package ${bao}.${servicePackage};


import ${bao}.${entityPackage}.${entity};

import com.alibaba.fastjson.JSONObject;
import java.util.List;
/**
 * 描述: ${table.comment}
 * author: ${author}
 * date: ${date}
 */
public interface ${entity}Service{
    List<${entity}> list();
    JSONObject listbyid(int id);
    JSONObject add${entity?lower_case}(${entity} ${entity?lower_case});
    JSONObject delete${entity?lower_case}(int id);
    JSONObject update${entity?lower_case}(${entity} ${entity?lower_case});
}
